package com.hyh.prize.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hyh.prize.entity.TabSaleplanGiftstock;
import com.hyh.prize.mapper.GgkStockMapper;
import com.hyh.prize.vo.GgkConfig;

import java.util.List;

public interface GgkStockService extends IService<TabSaleplanGiftstock> {

    List<TabSaleplanGiftstock> getStockList(String id);

    public boolean updateAll(List<GgkConfig> list);

    public boolean receive(String lpid,Integer num,String yid);

    public TabSaleplanGiftstock getGgkStock(String code,String lpId);

    List lpByLevelId(String id,String typeCode,String yytId);
}
